﻿@page
@model IndexModel
@{
    ViewData["Title"] = "Home page";
}

@if (HttpContext.User.Identity != null && HttpContext.User.Identity.IsAuthenticated)
{
    <ul class="list-group mt-3 text-start">
        <p>Current User</p>
        @foreach (var claim in HttpContext.User.Claims)
        {
            <li class="list-group-item">@claim.Type : @claim.Value</li>
        }
    </ul>
}
